<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>	
		<meta http-equiv="Content-Type" content="text/html; charset=<?=@$_s['encoding'];?>" />
		<title><?=@$title;?></title>
		<meta name="Keywords" content="<?=@$_s['metakeywords'];?>" />
		<meta name="Description" content="<?=@$_s['description'];?>" />
		<link rel="stylesheet" href="<?=@$_s['base_url'];?>/<?=@$_i['tpl_patch']?>/style.css" type="text/css" />

		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="alternate" type="application/rss+xml" title="<?=$_s['blogname'];?>: rss feed" href="<?=generate_link('action=rss')?>" />
		<?php echo $_s['moremeta'].$headers;?>
</head>
<body>
		<script type="text/javascript">
		function nc(nick){
		nnk = document.getElementById("commentform_text");
		nnk.value = nnk.value+'['+nick+'] ';
		nnk.focus();
		}
		</script>
		<div id="wrap">
			<?php echo $head; ?>
				<?php if($right){ ?><div id="right" style="float:right;"><?php echo $right; ?></div><?php } ?>
				<?php if($left){ ?><div id="left" style="float:left;"><?php echo $left; ?></div><?php } ?>
				<div id="content">

